include ../../mk/Makefile.root.include
include ../../mk/Makefile.libs.include
HIDE=

TARGET_LIB_NAME := stream
PROJ_CXXFLAGS +=  #-DBOOST_LOG_DYN_LINK


CUR_PROJ_DIR	:= .
PROJ_CXX_SRC 	+= $(wildcard $(CUR_PROJ_DIR)/*.cpp)
PROJ_CXX_SRC 	+= $(wildcard $(CUR_PROJ_DIR)/meta/*.cpp)
#PROJ_CXX_SRC 	+= $(wildcard $(CUR_PROJ_DIR)/impl/rocksdb/*.cpp)

PROJ_INC_PATHES += $(PROJ_ROOT_SRC_PATH)/src

all: $(TARGET_STATIC_LIB_BIN)

test: $(TARGET_STATIC_LIB_BIN)
	make -C test 
	./test/main.bin
	make -C ./impl/rocksdb/test  
	./impl/rocksdb/test/main.bin


$(TARGET_STATIC_LIB_BIN):$(OBJS)
	$(DO_AR_TARGET)

clean: test.clean
	$(DO_CLEAN)
	rm -frv *.db

test.clean: nothing
	make -C ./impl/rocksdb/test  clean
	make -C test clean	

nothing:
